﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadPicture.aspx.cs" Inherits="Sparqube.SharePoint.PictureColumnLite.UploadPicturePage" MasterPageFile="~/_layouts/dialog.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>

<asp:Content contentplaceholderid="PlaceHolderDialogDescription" runat="server">
<asp:Literal Text="<%$Resources:Sparqube.PictureLiteField,Text_UploadPicture_Dialog_desc%>" runat="server" />
</asp:Content>

<asp:Content contentplaceholderid="PlaceHolderDialogHeaderPageTitle" runat="server">
<asp:Literal Text="<%$Resources:Sparqube.PictureLiteField,Text_UploadPicture_Dialog%>" runat="server" />
</asp:Content>

<asp:Content contentplaceholderid="PlaceHolderHelpLink" runat="server">
</asp:Content>

<asp:Content contentplaceholderid="PlaceHolderDialogImage" runat="server">
</asp:Content>

<asp:Content contentplaceholderid="PlaceHolderDialogBodyMainSection" runat="server">
	<script>
	    document.forms[0].encoding = 'multipart/form-data';
	</script>
	<Sharepoint:FormDigest runat="server" id="FormDigest" />        
    <table cellpadding="0" cellspacing="5" style="width:100%;">
        <tr>
            <td>
                <span class="ms-descriptiontext"><asp:Literal Text="<%$Resources:Sparqube.PictureLiteField,Text_UploadPicture_Dialog_text%>" runat="server" /></span><br />
                <asp:Label EnableViewState="false" runat="server" CssClass="ms-error" ID="LabelError" Text=""/>
            </td>
        </tr>        
        <tr>
            <td><asp:FileUpload runat="server" accept="image/*" ID="fileUploadPicture" size="40" CssClass="ms-input"/></td>
        </tr>
    </table>
    
</asp:Content>
